{% extends 'application.html' %}
{% block content %}
{% include '_nav.html'%}
<div class="row">
    <div class="span12">
        <table class="table table-hover">
            <thead>
                <tr>
                    <th class="span2">#</th>
                    <th class="span2">Hit Byte/KB</th>
                    <th class="span3">Total Byte/KB</th>
                    <th class="span2">Hit Count</th>
                    <th class="span2">Total Count</th>
                    <th class="span4">Time</th>
                </tr>
            </thead>
            <tbody>
                {% if traffics %}
                {% for traffic in traffics %}
                <tr>
                    <td>{{traffic.id}}</td>
                    <td>{{traffic.hit_byte}}</td>
                    <td>{{traffic.total_byte}}</td>
                    <td>{{traffic.hit_count}}</td>
                    <td>{{traffic.total_count}}</td>
                    <td>{{traffic.created_at}}</td>
                </tr>
                {% endfor %}
                {% endif %}
        </table>
    </div>
</div>
{% endblock %}
